package team.damo.admin.dao;

import org.springframework.stereotype.Component;
import team.damo.admin.model.User;

/**
 * @Author: ZhangHeng
 * @Description: TODO
 * @DateTime: 2024/3/12 10:49
 **/
@Component
public interface UserServiceDAO {
    boolean isExist(String username);

    void addUser(User user);

    User selectByUsername(String username);
}
